package com.supcon.exchangedata;

import com.supcon.exchangedata.service.CommonMethodService;
import com.supcon.exchangedata.service.DayAndMonthSyncService;
import com.supcon.exchangedata.service.gj.*;
import com.supcon.exchangedata.service.hj.GarbagePointService;
import com.supcon.exchangedata.service.hj.*;
import com.supcon.exchangedata.service.lq.LqBasicService;
import com.supcon.exchangedata.service.lq.LqCarGpsService;
import com.supcon.exchangedata.service.lq.LqCarService;
import com.supcon.exchangedata.service.lq.LqOperationService;
import com.supcon.exchangedata.service.sw.SwBasicService;
import com.supcon.exchangedata.service.sw.SwOperationService;
import com.supcon.exchangedata.service.syncData.SyncService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import com.supcon.exchangedata.service.DayGasSyncService;

import javax.annotation.Resource;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author ：icerain.gan
 * @date ：Created in 2020/3/12 13:51
 * @description：项目启动时候的运行
 * @modified By：
 * @version: $ 1.0
 */
@Order(1)
@Component
@Slf4j
public class ApplicationRunner implements org.springframework.boot.ApplicationRunner {
    @Resource
    private GarbageStationService garbageStationService;
    @Resource
    private SwOperationService swOperationService;
    @Resource
    private HjOperationService hjOperationService;
    @Resource
    private SwBasicService swBasicService;
    @Resource
    private GarbageDisposalSiteService garbageDisposalSiteService;
    @Resource
    private GarbageRouteService garbageRouteService;
    @Resource
    private GarbagePointService garbagePointService;
    @Resource
    private GarbageCarService garbageCarService;
    @Resource
    private GarbageCarGpsService garbageCarGpsService;
    @Resource
    private GjOperationService gjOperationService;

    @Resource
    private GjBasicService gjBasicService;

    @Resource
    private BusTranService busTranService;
    @Resource
    private BusCarGpsService busCarGpsService;
    @Resource
    private LqBasicService lqBasicService;
    @Resource
    private LqCarService lqCarService;
    @Resource
    private LqCarGpsService lqCarGpsService;
    @Resource
    private BusOtherDataService busOtherDataService;
    @Resource
    private DayAndMonthSyncService dayAndMonthSyncService;
    @Resource
    private DayGasSyncService dayGasSyncService;
    @Resource
    private CommonMethodService commonMethodService;
    @Resource
    private GarbageTransferStationService garbageTransferStationService;
    @Resource
    private LqOperationService lqOperationService;
    @Resource
    private SyncService syncService;

    @Override
    public void run(ApplicationArguments args) throws Exception {
    //syncService.syncMonthReport();
    }
}
